<%-- 
    Document   : N950
    Created on : Oct 24, 2012, 4:07:06 PM
    Author     : Nguyen Hung
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <script type="text/javascript">
            $j(document).ready(function(){   
                var open_cur = 0;
                $j = jQuery.noConflict();
                
            });
        </script>

        <style type="text/css">
            .greyRow{
                    background: #E0EFFC;
                }
        </style>

    </head>
    <body>
        <f:view>
           
                <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>
                <h:panelGroup id="search">
                    <div style="height:200px ;margin-top: -15px; width:100%; overflow-x:hidden; overflow-y:scroll"> 
                        <rich:dataTable value="#{CustomerBean.listdifn100}" var="cus"
                                        rows="50"  
                                         rowClasses="greyRow, whiteRow"
                                        style=" margin-left:10px;" columnClasses=",columns,columns,columns" rowKeyVar="row"
                                        id="table" styleClass="machinePosDataTable cus_comp">

                            <rich:column style="width:30px; text-align:center" styleClass="selectedfn100" lang="#{cus.pn100}">
                                <f:facet name="header">
                                    <h:outputText value="#{locale.select}" />
                                </f:facet>
                                <h:selectBooleanCheckbox value="#{cus.selected}" styleClass="selected" lang="#{cus.pn100}" />
                            </rich:column>
                            <rich:column style="width:130px;" styleClass="kv103" lang="#{cus.kv103}">
                                <f:facet name="header">
                                    <h:outputText value="#{locale.frist_lastname}" />
                                </f:facet>
                                <div style="width:130px;">
                                    <h:outputText value="#{cus.hoten}" />
                                </div>
                            </rich:column>

                            <rich:column width="80px">
                                <f:facet name="header">
                                    <h:outputText value="#{locale.identification}" />
                                </f:facet>

                                <div style="width:80px;">
                                    <h:outputText value="#{cus.nv109}" />
                                </div>
                            </rich:column>


                            <rich:column  width="auto">
                                <f:facet name="header">
                                    <h:outputText value="#{locale.email}" />
                                </f:facet>

                                <div style="width:auto;">
                                    <h:outputText value="#{cus.nv120}" />
                                </div>
                            </rich:column>
                            <rich:column  width="80px">
                                <f:facet name="header">
                                    <h:outputText value="#{locale.telephone}" />
                                </f:facet>

                                <div style="width:80px;">
                                    <h:outputText value="#{cus.nv121}" />
                                </div>
                            </rich:column>                            
                            <rich:column style="width:50px; text-align:center" styleClass="selectedpfn100" lang="#{cus.pn100}">
                                <f:facet name="header">
                                    <h:outputText value="NV Đại diện" />
                                </f:facet>
                                <h:selectBooleanCheckbox value="#{cus.selectedp}"  styleClass="selectedp" lang="#{cus.pn100}"/>
                            </rich:column>

                        </rich:dataTable>
                    </div>

                </h:panelGroup>
           
        </f:view>


    </body>
</html>
